#pragma  once

namespace	MomogenkyouContent	{

class LoadingIndicator	:	public	MomogenkyouSystem::ScreenTemplate
{
protected:
	MomogenkyouSystem::ContentManager	m_ContentManager;

	MomogenkyouSystem::TextureData	*	m_pLoadingCircle;
	MomogenkyouSystem::TextureData	*	m_pLoadingText;

	MomogenkyouSystem::Camera			m_Camera;

	VIEWPORT							m_Viewport;
	float								m_fSpinAngle;
	
	FadeInOut							m_FadeEffect;
public:
	LoadingIndicator();
	virtual	~LoadingIndicator();

	__inline	void	SignalLoadComplete()	{	m_FadeEffect.Proceed(true);	}

	virtual		void	Initialize();
	virtual		void	Shutdown();

	virtual		void	Update(const float & fInterval);
	virtual		void	DrawGameScreen(const float & fInterval);
};

}